package com.yy.wga.user.service.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yy.wga.user.service.pojo.UserGradeRecordDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 用户等级变更记录(UserGradeRecord)表数据库访问层
 *
 * @author guochao
 * @since 2024-11-12 23:12:56
 */
@Mapper
public interface UserGradeRecordMapper extends BaseMapper<UserGradeRecordDO> {

    /**
     * 根据id移除用户等级变更记录
     *
     * @param userId 用户id
     */
    void removeByUserId(@Param("userId") Long userId);
}
